.addresses-container {
    max-width: 1200px;
    margin: 30px auto;
    display: flex;
    min-height: 600px;
}

.profile-sidebar {
    width: 250px;
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    padding: 20px;
    margin-right: 20px;
}

/* 侧边栏样式同个人资料页 */

.addresses-content {
    flex: 1;
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    padding: 30px;
}

.addresses-content h2 {
    font-size: 24px;
    margin-bottom: 30px;
    color: #333;
}

#addAddressBtn {
    padding: 10px 20px;
    background-color: #ff6700;
    color: white;
    border: none;
    border-radius: 3px;
    font-size: 14px;
    cursor: pointer;
    margin-bottom: 20px;
}

#addAddressBtn:hover {
    background-color: #e55c00;
}

.addresses-list {
    margin-top: 20px;
}

.address-card {
    border: 1px solid #eee;
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 15px;
    position: relative;
}

.address-card.default {
    border-color: #ff6700;
    background-color: #fff8f0;
}

.address-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.address-name {
    font-weight: bold;
    margin-right: 10px;
}

.address-phone {
    color: #666;
}

.default-tag {
    background-color: #ff6700;
    color: white;
    padding: 2px 5px;
    border-radius: 3px;
    font-size: 12px;
    margin-left: 10px;
}

.address-detail {
    color: #333;
    line-height: 1.6;
    margin-bottom: 10px;
}

.address-actions {
    text-align: right;
}

.address-actions button {
    padding: 5px 10px;
    margin-left: 10px;
    background: none;
    border: none;
    cursor: pointer;
    color: #666;
}

.address-actions .edit-btn {
    color: #1890ff;
}

.address-actions .delete-btn {
    color: #ff4d4f;
}

.address-actions .set-default-btn {
    color: #ff6700;
}

/* 模态框样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 20px;
    border-radius: 5px;
    width: 500px;
    max-width: 90%;
    position: relative;
}

.close-btn {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 24px;
    cursor: pointer;
    color: #666;
}

.close-btn:hover {
    color: #333;
}

.modal h3 {
    margin-bottom: 20px;
    font-size: 18px;
}

.region-selector {
    display: flex;
    gap: 10px;
}

.region-selector select {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 3px;
}